﻿namespace Mangosoft.DiceCopy.Domain.MainBoundedContext.Aggregates.AdvertisingAgg {
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using Mangosoft.DiceCopy.Domain.Seedwork;
    using Mangosoft.DiceCopy.Domain.MainBoundedContext.Aggregates.MaterialAgg;

    public class Advertising : Entity, IValidatableObject {
        ///<summary>
        ///
        ///</summary>
        public string Title { get; set; }
        ///<summary>
        ///
        ///</summary>
        public DateTime? StartDate { get; set; }
        ///<summary>
        ///
        ///</summary>
        public DateTime? EndDate { get; set; }
        ///<summary>
        ///
        ///</summary>
        public int? Status { get; set; }
        ///<summary>
        ///
        ///</summary>
        public Guid? CompanyId { get; set; }
        ///<summary>
        ///
        ///</summary>
        public int? BlockCode { get; set; }
        ///<summary>
        ///
        ///</summary>
        public int? SortOrder { get; set; }
        ///<summary>
        ///
        ///</summary>
        public Guid? MaterialId { get; set; }
        ///<summary>
        ///
        ///</summary>

        ///<summary>
        ///
        ///</summary>
        public virtual Material Material { get; set; }

        ///<summary>
        ///
        ///</summary>
        public Guid ManagerId { get; set; }

        public DateTime DateCreated { get; set; }
        ///<summary>
        ///
        ///</summary>
        public DateTime LastUpdated { get; set; }

        #region Public Methods

        #endregion


        #region IValidatableObject Members
        public IEnumerable<ValidationResult> Validate(ValidationContext validationContext) {
            var validationResults = new List<ValidationResult>();

            return validationResults;
        }
        #endregion
    }
}
